/*
 * @Author: chendeji
 * @Date: 2021-11-18 15:27:17
 * @LastEditTime: 2021-11-18 15:51:46
 * @Description: 
 * @FilePath: \copy_gsy_github_app_flutter\lib\widget\empty_view.dart
 * 联系方式：
 * wx: melody_2009
 * qq: 7815171323 
 */

import 'package:copy_gsy_github_app_flutter/common/style/gsy_style.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';

class EmptyView extends StatelessWidget {
  const EmptyView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: MediaQuery.of(context).size.height - 100,
      child: new Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          TextButton(
            onPressed: () {},
            child: new Image(
                image: new AssetImage(AppICons.DEFAULT_USER_ICON),
                width: 70.0.w,
                height: 70.0.h),
          ),
          Container(
            child: Text('app_empty'.tr, style: APPFont.normalText),
          ),
        ],
      ),
    );
  }
}
